//
//  UserFieldKeys.swift
//  hello
//
//  Created by 赵康 on 2024/11/11.
//

import Fluent
extension User {
	enum FieldKeys {
		static var id: FieldKey { "id" }
		static var name: FieldKey { "name" }
		static var email: FieldKey { "email" }
		static var password: FieldKey { "password" }
		static var avatar: FieldKey { "avatar" }
		static var phone: FieldKey { "phone" }
		static var bio: FieldKey { "bio" }

		static var isDeleted: FieldKey { "isDeleted" }
		static var createdAt: FieldKey { "createdAt" }
		static var updatedAt: FieldKey { "updatedAt" }
		
		static var isEmailVerified: FieldKey { "isEmailVerified" }
		static var isPhoneVerified: FieldKey { "isPhoneVerified" }
		static var isSubscribed: FieldKey { "isSubscribed" }
    static var currentStreak: FieldKey { "currentStreak" }
    static var dailyGoal: FieldKey { "dailyGoal" }
    static var points: FieldKey { "points" }
    static var lastPointsAwardedDate: FieldKey { "lastPointsAwardedDate" }
    static var totalCheckIns: FieldKey { "totalCheckIns" }
    static var lastMilestoneAwarded: FieldKey { "lastMilestoneAwarded" }
		static var termsAccepted: FieldKey { "termsAccepted" }
		static var termsAcceptedAt: FieldKey { "termsAcceptedAt" }
		static var termsVersion: FieldKey { "termsVersion" }
    static var appleUserID: FieldKey { "appleUserID" }
	}
}
